package spike.jdbc.model;

public class Title {

	private String nom;
	private String artiste;
	private String album;

	public Title() {
	}

	public Title(String nom, String artiste, String album) {
		super();
		this.nom = nom;
		this.artiste = artiste;
		this.album = album;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getArtiste() {
		return artiste;
	}

	public void setArtiste(String artiste) {
		this.artiste = artiste;
	}

	public String getAlbum() {
		return album;
	}

	public void setAlbum(String album) {
		this.album = album;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Title [nom=").append(nom).append(", artiste=")
		.append(artiste).append(", album=").append(album).append("]");
		return builder.toString();
	}
}
